import { PrimaryGeneratedColumn, Column } from 'typeorm';

export abstract class CommonEntity {
    @PrimaryGeneratedColumn()
    id: number;   
    
    @Column({type:'datetime',nullable:true })
    createTime: string;

    @Column({type:'datetime', nullable:true })
    updateTime: string;
    
    @Column({  type:'varchar' , nullable:true  })
    ip: string; 
}